﻿//-----------------------------------------------------------------------
// <copyright file="MSubscribe.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: MSubscribe.cs
// * history : created by qinchaoyue 2018-02-13 04:30:53
// </copyright>
//-----------------------------------------------------------------------

namespace Slwy.EventBus.Models
{
    public class MSubscribe
    {
        /// <summary>
        /// 回调地址url 
        /// post 类型 (value: "/api/cache/values 或者 http://172.17.1.246/api/cache/values")
        /// </summary>
        public string CallBackUrl { get; set; } = string.Empty;

        /// <summary>
        /// 消息队列路由 (value: "slwy.default.router")
        /// </summary>
        public string RoutingKey { get; set; } = "slwy.default.router";

        /// <summary>
        /// 消息队列名称 (value: "slwy.event.default")
        /// </summary>
        public string QueueName { get; set; } = "slwy.event.default";
    }
}
